package guinong.com.gnw.event;


import org.greenrobot.eventbus.EventBus;


/**
 * Created by xiaoyu on 2016/3/16.
 */
public class EventBusSendFactory {
    public final static String TAG = "EventBusSendFactory";

    /**
     * 发送一个状态 是否显示
     *
     * @param isShow
     */
    public static void sendMainTableShow(Boolean isShow) {
        newPostThread(isShow);
    }
    /**
     * 开启新的线程去发送消息
     **/
    public static void newPostThread(final Object obj) {
        EventBus.getDefault().post(obj);
    }
}
